package com.chinaisafe.user.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.chinaisafe.user.vo.response.SysAppRespVO;
import com.chinaisafe.user.entity.SysApp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * SysAppMapper
 * Description：应用Mapper接口
 *
 * @author tby
 * @date 2024-07-11 17:32:41
 */
@Mapper
public interface SysAppMapper extends BaseMapper<SysApp> {
    /**
     * 根据条件获取应用分页列表
     * @param page 分页对象
     * @param queryWrapper 筛选参数
     * @return IPage<SysAppRespVO> 查询结果
     * @author tby
     * @date 2024-07-11 17:32:41
     */
    IPage<SysAppRespVO> getPageList(Page<SysApp> page, @Param(Constants.WRAPPER) QueryWrapper<SysApp> queryWrapper);
}
